home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / cmdity / mcxp311.lha / MCXP311 / Install_MUI_MCX_Prefs next >
Text File  |  1996-03-18  |  1KB  |  72 lines

  1. ; Installation script for MUI_MCX_Prefs
  2.  
  3. (transcript "Installing MUI_MCX_Prefs...")
  4.  
  5.  
  6. (set name
  7.         (askdir
  8.         (prompt "Where shall i install MUI_MultiCX_Prefs?")
  9.         (help @askdir-help)
  10.         (default "SYS:Prefs")
  11.         )
  12. )
  13.  
  14. (copyfiles
  15.     (source "MUI_MCX_Prefs")
  16.     (infos)
  17.     (dest name)
  18. )
  19.  
  20. (set def-lang 0)
  21.  
  22. (set lang
  23. (askoptions
  24.     (prompt "Which languages You wish to install ?")
  25.     (help @askoptions-help)
  26.     (choices "Deutsch")
  27.     (default def-lang)
  28. ))
  29.  
  30. (set n 0)
  31.  
  32. (while (set language (select n "deutsch" "" ) )
  33. (
  34.     (if (IN lang n)
  35.         (copyfiles
  36.             (source (cat "locale/" language ".catalog" ))
  37.             (dest (cat "LOCALE:catalogs/" language ))
  38.             (newname "mcxp.catalog")
  39.         )
  40.     )
  41.     (set n (+ n 1))
  42. ))
  43.       
  44.  
  45.       (set vernum (getversion "intuition.library" (resident)))
  46.       (set ver (/ vernum 65536))
  47.  
  48.  
  49.       (if ( > ver 38)     
  50.  
  51.           (copylib
  52.                 (prompt "Install 'wbstart.library.")
  53.                 (help @copylib-help)
  54.                 (source "libs/wbstart.library")
  55.                 (dest "libs:")
  56.                 (confirm)
  57.           )
  58.  
  59.           (copylib
  60.                 (prompt "Install 'WBStart-Handler.")
  61.                 (help @copylib-help)
  62.                 (source "l/WBStart-Handler")
  63.                 (dest "l:")
  64.                 (confirm)
  65.           )
  66.  
  67.       )
  68.  
  69. (set @default-dest name)
  70.  
  71. (exit)
  72.